Part Number Hot Search : 
S3U7812 MAX63 L65610 SAA570 MC33163D DB1GB1WB MV53640 10004
Product Description
Full Text Search
 

To Download AN1772 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/8 november 2003 AN1772 application note how to control power-up/reset and monitor the voltage in microprocessor systems using st reset circuits contents introduction power-up/ reset ? resistor-capacitor filter circuit monitoring the supply voltage during operations ? resistor-capacitor-di- ode filter circuit integrated reset circuits ? reset thresholds ? manual reset conclusion references revision history this application note describes the problems with monitoring the power supply during power-up/reset in a microprocessor system. it also explains how the family of st family of reset circuits can be used to solve them. further information on reset circuits can be found in the stm809, stm810, stm811, stm812 datasheet on www.st.com . introduction today, our microprocessor driven digital world, cannot exist without the correct power supply voltage. every microproces- sor needs its power supply to be within a predefined range, to be able to function properly. a small glitch in the power supply can cause the system to crash. incorrect power-up sequences, slow ramp-up and glitches on the supply lines are common problems that designers must take into account to minimize the impact of faults resulting from the power supply. there are several ways to solve these problems, some of which are outlined in this document, but they all have certain limitations and do not completely resolve the problem. for this reason st has developed a new family of low-power supervisory devices, called reset circuits, specifically to mon- itor power supplies. this new family, which includes the stm809, stm810, stm811 and stm812, asserts a reset sig- nal whenever the power supply dr ops below a preset threshold value, and keeps it asserted, until the voltage rises above that threshold, for a minimum period of time. the stm811 and stm812 also provide a push-button reset input signal (mr ).
AN1772 - application note 2/8 power-up/ reset power-up is the first thing that mu st be considered in a new design, as every system requires a time in- terval for internal initialization after the power supply has stabilized. during the power-up sequence, microprocessors and other complex digital devices, wait for the clock sig- nal to stabilize and load the internal registers and boot-code required for the microprocessor to function properly. for this reason, they always require a predefined time for power-up/reset. if the reset time is not long enough, t he system may not function properly. resistor-capacitor filter circuit one possible approach to delay the reset signal after power-up, is to use a resistor-capacitor (rc) low- pass filter at the microprocessor reset (rst ) input. this solution is inexpensive, but cannot be guaranteed to work in all circumstances. it uses an exponential rc rise time for the reset delay after power-up (see figure 1). the delay can be changed easily by selecting the appropriate rc circuit. unfortunately, this approach has two drawbacks. the reset delay depends on the power-up voltage slew rate - if the slew rate is too slow then the rc curve tracks this rising voltage and the reset delay may be inadequate (see the dashed line in top diagram in figure 1). the slew rate of reset signal at the microprocessor?s input depends on the reset time (typically 110-200 ms) - if longer pulses are required, the rc circuit va lues must be increased, wh ich will slow the slew rate of the reset signal and may cause the microprocessor to malfunction, due to insufficient overdrive at the reset input. some manufacturers implement power-up/reset functions in the microprocessor to avoid these problems, however in most cases the monitoring is not very precise. another solution is to use an external reset circuit device. st reset circuits have precise, predefined voltage thresholds and reset delays and so do not encounter any of the drawbacks of the rc filter circuit (see integrated reset circuits section).
3/8 AN1772 - application note figure 1. resistor-capacitor filter circuit - reset delay note: v rc = voltage on capacitor. ai08625 r microprocessor v cc c rst power-up v cc p internal reset p reset input v th v rc 0.9 v cc t 1 t 2 (t 1 < t 2 ) one v cc power-up slew rate, different rc reset delay. power-up v cc p internal reset p reset input v th v rc 0.9 v cc t 2 t 1 (t 2 < t 1 ) different v cc power-up slew rate, one rc reset delay. slow v cc slew rate gives shorter reset delay slow reset slew rate can cause problems
AN1772 - application note 4/8 monitoring the supply voltage during operations for the microprocessor and other devices in the system to function correctly, it is also necessary to mon- itor the supply voltage during operations. brownout conditions, or glitches on the power supply lines, can cause unwanted changes in the internal registers, which can lead to instructions being incorrectly executed, incorrect output signals and errors in the operations results. the rc filter solution proposed for monitoring the voltage during power-up and reset is not sufficient to monitor the voltage correctly during operations. it can filter out fast undershoots, however, as the micro- processor is unaware that the voltage dropped below the threshold, due to the time constant of the rc delay, it continues to operate, which can lead to instructions being incorrectly executed. resistor-capacitor-diode filter circuit a resistor-capacitor-diode (rcd) filter circuit (the same as the rc circuit with a diode added parallel to the resistor), can improve the response time to fast undershoots, but the drop in the voltage level must be greater than the forward turn-on voltage of the diode, before the diode can start to pull rst low. another limitation of this solution is that, the rcd filter circuit can only monitor drops in the voltage supply, that are greater than the microprocessor?s tolerance voltage plus the diode drop. as for the power-up/reset phase, a better solution is to use an external reset device like the st reset circuits, which are also ideal for monitoring the voltage level during operations (see integrated reset cir- cuits section). figure 2. resistor-capacitor-diode filter circuit note: v d = voltage across diode, v rc = voltage on capacitor. ai08626 r microprocessor v cc c rst power-up v cc p internal reset p reset input v th d rc constant, without parallel diode, filters out fast voltage undershoots v d v rc
5/8 AN1772 - application note integrated reset circuits integrated reset circuits, like the stm809-812, are devices that are dedicated for reset and monitoring purposes. they monitor the input voltage supply and send a reset signal to the microprocessor for a preset time interval, if the voltage supply goes outside the preset limit. a typical reset device consists of a voltage reference, a voltage comparator, a supply voltage resistor-di- vider network, a fixed delay time circuit and an output driver (see figure 3). the internal voltage comparator monitors the input voltage supply and compares it with a predefined volt- age reference. if the supply voltage is under the threshold, a reset signal rst , is asserted. the signal re- mains asserted until the supply voltage reaches the threshold and stays above it for a preset time interval. the output of the reset circuit is independent of the power-up slew rate, glitches and other brownout con- ditions. figure 3. integrated reset circuit note: 1. stm811/812 only. ai08627 compare v rst v cc debounce delay mr (1) rst output
AN1772 - application note 6/8 reset thresholds the reset circuits are available with multiple threshold voltages (refer to table 1), so the designer can choose the reset threshold level best suited to the system?s power supply. the sensitivity of the reset circuit depends on: the duration of the voltage undershoot, the magnitude of the undershoot below the minimum threshold. the generation of the reset signal depends on, the maximum voltage transient duration versus the reset comparator overdrive, as is shown in figure 4. conditions falling into the area below the curve are filtered and therefore do not generate a reset signal. figure 4. reset thresholds table 1. reset threshold levels manual reset a manual reset is useful in many applications, fr om debugging new systems to wa king-up from an idle or sleep mode. usually an external reset is done with a switch, however switches are not ideal because of switching bounce (voltage spikes that can occur during the switching phase). the problem can be overcome by de- signing a specific circuit, but this requires additional discrete logic gates. the stm811 and stm812 reset circuits solve the problem with a push-button reset input signal (mr ). these devices have an internal de- bounce circuit (see figure 3), usually with an internal pull-up resistor, so there are no requirements for any other discrete circuits connected to the device. device reset threshold voltage min max unit stm8xxl 4.50 4.75 v stm8xxm 4.25 4.50 v stm8xxt 3.00 3.15 v stm8xxs 2.85 3.00 v stm8xxr 2.55 2.70 v ai08628 s max. voltage transient duration (not producing reset pulse) reset comparator overdrive, mv stm8xxl/ m stm8xxr/s/t
7/8 AN1772 - application note conclusion st reset circuits are small devices, that take little board space, but monitor the most important thing in the system - the power supply. they are becoming increasingly popular with designers, thanks to their dedicated features and low cost. they are available in small sot23 and sot143 packages; they require only a low supply current, typically in the 5-10 a range and offer a wide range of voltage thresholds. they can be used in many different applications from battery devices with low power requirements to in- dustrial machines with reliability constraints. references stm809, stm810, stm811, stm812 datasheet revision history table 2. document revision history date version revision details 27-nov-2003 1.0 first issue.
AN1772 - application note 8/8 if you have any questions or suggestion concerning the matters raised in this document please send them to the following electronic mail address: ask.memory@st.com (for general enquiries) please remember to include your name, company, location, telephone number and fax number. information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequence s of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is grante d by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicati on are subjec t to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectronics prod ucts are no t authorized for use as critical components in life support devices or systems without express written approval of stmicroelectro nics. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners ? 2003 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states www.st.com


▲Up To Search▲   

 
Price & Availability of AN1772

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X